//
//  MQCustomTableViewCell.m
//  meiquan
//
//  Created by hejingjin on 2017/10/26.
//  Copyright © 2017年 mq. All rights reserved.
//

#import "MQCustomTableViewCell.h"

@implementation MQCustomTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state customtableviewcellid
}

+(instancetype)cellwithtableview:(UITableView *)tableview{
    
    static NSString *ID = @"customtableviewcellid";
    MQCustomTableViewCell *cell = [tableview dequeueReusableCellWithIdentifier:ID];
    if (cell == nil) {
        cell = [[[NSBundle mainBundle] loadNibNamed:NSStringFromClass(self) owner:nil options:nil] lastObject];
    }
    return cell;
    
}

@end
